<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // set
        // map是升级版的对象
        // 常用于字典，缓存
        // 键的比较基于零值相等算法
        const set=new Set([1,2,1]);
        
        console.log(set)//[1,2]
        
        //新增
       
  
       
        //查询
        
        //修改
    
        //删除
        

        // 查询大小
       

        // 循环
        for (const iterator of map) {
            console.log(iterator) // ['aaa', 'aaa']
        }

        // 和数组的关系
        let kv=[['key','value'],['key','value']]

       

    </script>
</body>
</html>